projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b998a
)
fix maps javascript api deprecation warning. (#914)
author
tsteven4
<13596209+tsteven4@users.noreply.github.com>
Mon, 22 Aug 2022 13:19:52 +0000
(07:19 -0600)
committer
GitHub
<noreply@github.com>
Mon, 22 Aug 2022 13:19:52 +0000
(07:19 -0600)
js: google.maps.event.addDomListener() is deprecated, use the standard addEventListener() method instead: https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener
gui/gmapbase.html
patch
|
blob
|
history
diff --git
a/gui/gmapbase.html
b/gui/gmapbase.html
index af37b8168d4fc27b8faeb02bba21de1e26448e4b..15a50f8be2019c7be8d70fd60c392da0ab161e09 100644
(file)
--- a/
gui/gmapbase.html
+++ b/
gui/gmapbase.html
@@
-155,7
+155,7
@@
function setupWebChannel() {
}
}
-
google.maps.event.addDomListener(window,
"load", initialize);
+
window.addEventListener(
"load", initialize);
</script>